var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            if (!cm.isQuestActive(23219)) {
                cm.sendOk("你现在应该还有别的事情。");
                cm.dispose();
                return
            }
            cm.askYesNo("#h0#，你来啦。我来通过时间缝隙，把你送回过去。过去的你真的很强，必须做好充分的准备。准备好了吗？", 0, 2159331)
        } else {
            if (status === a++) {
                cm.sendNormalTalk("祝你好运，#h0#。", 0, 2159331, false, true)
            } else {
                if (status === a++) {
                    cm.dispose();
                    cm.warp(927000100, 0, false)
                }
            }
        }
    }
};